package com.elong.spring.context;

import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

import com.elong.spring.reflect.Car;

public class AnnotationApplicationContextTest {

    public static void main(String[] args) {
	ApplicationContext ctx = new AnnotationConfigApplicationContext(Beans.class);
	Car car = ctx.getBean("car", Car.class);
	car.introduce();
    }
}
